package com.ssm.supplier.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ssm.supplier.entity.SsmSuorderEntity;

import com.ssm.supplier.entity.vo.SupplierOrderVo;
import com.ssm.supplier.entity.vo.SuorderDto;

import com.ssm.supplier.entity.vo.SupplierOrderVo;
import com.ssm.supplier.entity.vo.SuorderDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import java.util.ArrayList;

/**
 * 
 * 
 * @author ssm
 * @email sunlightcs@gmail.com
 * @date 2023-03-19 17:27:39
 */
@Mapper
public interface SsmSuorderDao extends BaseMapper<SsmSuorderEntity> {

	public List<SupplierOrderVo> findSupplierOrder(@Param("id") Integer id);

	//后台获取订单详情
	ArrayList<SuorderDto> selectOrder(Integer total,Integer size,String key);
	//供货端订单查询
	public List<SupplierOrderVo> findOrderById(String key);


}
